﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;

namespace System.Xml
{
    public class WenXmlDocument : XmlDocument
    {
        public WenXmlDocument() : base()
        {
        }
        public virtual XmlElement CreateXmlElementText(string name, string text)
        {
            XmlElement xmlElement = CreateElement(name);
            xmlElement.InnerText = text;
            return xmlElement;
        }
    }
}
